package com.xihua.sx.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xihua.sx.pojo.CarInfo;
import com.xihua.sx.pojo.PageData;
import com.xihua.sx.utils.ResponseMessage;

public interface CarInfoService {
    //id查车辆信息
    ResponseMessage carInfoById(Integer carId);
    //模糊查车牌号
    ResponseMessage carInfoByCode(CarInfo carInfo);
    //查全部
    ResponseMessage carInfoAll(PageData pageData);
    //删除车辆(根据Id来删除)
    ResponseMessage carInfoDele(Integer carId);
    //插入车辆信息
    ResponseMessage carInfoInsert(CarInfo carInfo);
    ResponseMessage carInfoUpdate(CarInfo carInfo);

}
